package C8_1_TemplateMethod.before;

import C8_1_TemplateMethod.Loan;

/**
 * @author xufy
 * @version 1.0
 **/
public class CapitalStrategyLine extends  CapitalStrategy{
    @Override
    public double capital(Loan loan) {
        return a()*b()*c()*d();
    }

    public double a(){
        return 0;
    }
    public double b(){
        return 0;
    }
    public double c(){
        return 0;
    }
    public double d(){
        return 0;
    }
}
